package pr.iceworld.fernando.oms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;
import pr.iceworld.fernando.monitoring.MonitoringConfig;

@EnableDiscoveryClient
@Import(MonitoringConfig.class)
@EntityScan(basePackages = "pr.iceworld.fernando.entity")
@MapperScan(basePackages = "pr.iceworld.fernando.oms.repository")
@SpringBootApplication
public class OmsApplication {

	public static void main(String[] args) {
		SpringApplication.run(OmsApplication.class, args);
	}
}
